package com.sys.platform.entity;

import com.sys.platform.common.web.domain.DataBaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Transient;
import java.util.Map;

/**
 * 收藏夹对象 favorites
 *
 * @author yuanfuqiang
 * @date 2024-08-08
 */
@Data
public class Favorites extends DataBaseEntity {

    @ApiModelProperty("收藏夹名称")
    private String name;

    @ApiModelProperty("设备编码")
    private String cameraCode;

    @ApiModelProperty("设备种类")
    private String kinds;

    @ApiModelProperty("上级id")
    private Long parentId;

    @ApiModelProperty("排序")
    private Integer sort;

    @Transient
    @ApiModelProperty("背景颜色")
    private String bgcolor;

    @Transient
    @ApiModelProperty("字体颜色")
    private String color;

    @Transient
    @ApiModelProperty("命名标记")
    private String label;

    @Transient
    @ApiModelProperty("监控数")
    private Integer cameraNum;

    @Transient
    @ApiModelProperty("分享人数")
    private Integer peopleNum;


    @Transient
    @ApiModelProperty("ip地址")
    private String ip;

    @Transient
    @ApiModelProperty("行政区划id")
    private Long areaId;

    @Transient
    @ApiModelProperty("gis")
    private Map<String, Object> gis;

    @Transient
    @ApiModelProperty("设备状态")
    private String status;

    @Transient
    @ApiModelProperty("维护单位id")
    private Long maintenanceId;
}
